{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{# Exclude banners from search result snippets using `data-nosnippet` (issue 8739) #}
<aside class="c-banner hide-from-legacy-ie {% block banner_class %}{% endblock %}" id="{% block banner_id %}{% endblock %}" aria-label="{% if aria_label %}{{ aria_label }}{% else %}{{ ftl('ui-promo-label') }}{% endif %}" data-nosnippet="true">
  <button type="button" class="c-banner-close"><span>{{ ftl('ui-close') }}</span></button>
  {% block banner_content %}{% endblock%}
</aside>
